﻿using System.Web.Http;
using AttributeRouting.Web.Http;
using Pansoft.Authority.Entities;
using Pansoft.HIME.Base.Params;
using Pansoft.HIME.Controllers.Filter;

namespace Pansoft.HIME.Controllers.Api
{
    public class UserLoginController : ApiController
    {
        [POST("UserLogin")]
        public StaffProfile Post(LoginParam args)
        {
            StaffProfile staff = Mocks.GetDemoStaffProfile(args.Organization, args.Staff, args.Password);
            return staff;
        }
    }
}